package com.gugee.ins.common.dal.service.dic.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.dic.InsDicNationMapper;
import com.gugee.ins.common.dal.service.dic.InsDicNationDao;
import com.gugee.ins.common.model.mysql.dic.InsDicNation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * InsDicNationDaoImpl
 *
 * @author Huangxin
 */
@Slf4j
@Service
public class InsDicNationDaoImpl extends ServiceImpl<InsDicNationMapper, InsDicNation> implements InsDicNationDao {
    /**
     * 获取所头部国家缩写
     * @return
     */
    @Override
    public List<String> findTopNationCode(){
        return baseMapper.findTopNationCode();
    }
}
